package top.songxs.yygh.service.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.songxs.yygh.model.order.OrderInfo;
import top.songxs.yygh.vo.order.OrderCountQueryVo;

import java.util.Map;

public interface OrderService extends IService<OrderInfo> {
    Long saveOrder(String scheduleId, Long patientId);

    OrderInfo getByScheduleIdAndPatientId(String scheduleId, Long patientId);

    Boolean cancelOrder(Long orderId);

    Map<String, Object> getCountMap(OrderCountQueryVo orderCountQueryVo);

    void patientTips(String message);
}
